.class Lcom/waiqin365/lightapp/visit/gd;
.super Landroid/os/Handler;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/visit/gd;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 2

    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    iget v0, p1, Landroid/os/Message;->what:I

    sparse-switch v0, :sswitch_data_0

    :goto_0
    return-void

    :sswitch_0
    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/lightapp/visit/a/a/as;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/visit/a/a/as;->b()Z

    move-result v1

    if-eqz v1, :cond_1

    iget-object v0, v0, Lcom/waiqin365/lightapp/visit/a/a/as;->b:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/gd;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;->b(Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;)Ljava/util/List;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/gd;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;->a(Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;)Lcom/waiqin365/base/db/seniorvisitsubmit/f;

    move-result-object v1

    invoke-interface {v0, v1}, Ljava/util/List;->remove(Ljava/lang/Object;)Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/gd;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;->c(Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;)Lcom/waiqin365/lightapp/visit/b/bb;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/gd;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;->a(Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;)Lcom/waiqin365/base/db/seniorvisitsubmit/f;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/base/db/seniorvisitsubmit/f;->d()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/b/bb;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/gd;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;->d(Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;)V

    goto :goto_0

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/gd;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;->c(Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;)Lcom/waiqin365/lightapp/visit/b/bb;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/gd;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;->e(Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;)I

    move-result v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/b/bb;->b(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/gd;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;->f(Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;)I

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/gd;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;->d(Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;)V

    goto :goto_0

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/gd;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;->c(Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;)Lcom/waiqin365/lightapp/visit/b/bb;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/gd;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;->e(Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;)I

    move-result v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/b/bb;->b(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/gd;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;->f(Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;)I

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/gd;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;->d(Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;)V

    goto :goto_0

    :sswitch_1
    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/lightapp/visit/a/a/av;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/visit/a/a/av;->b()Z

    move-result v1

    if-eqz v1, :cond_3

    iget-object v0, v0, Lcom/waiqin365/lightapp/visit/a/a/av;->b:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/gd;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;->b(Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;)Ljava/util/List;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/gd;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;->a(Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;)Lcom/waiqin365/base/db/seniorvisitsubmit/f;

    move-result-object v1

    invoke-interface {v0, v1}, Ljava/util/List;->remove(Ljava/lang/Object;)Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/gd;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;->c(Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;)Lcom/waiqin365/lightapp/visit/b/bb;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/gd;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;->a(Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;)Lcom/waiqin365/base/db/seniorvisitsubmit/f;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/base/db/seniorvisitsubmit/f;->d()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/b/bb;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/gd;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;->d(Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;)V

    goto/16 :goto_0

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/gd;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;->c(Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;)Lcom/waiqin365/lightapp/visit/b/bb;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/gd;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;->e(Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;)I

    move-result v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/b/bb;->b(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/gd;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;->f(Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;)I

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/gd;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;->d(Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;)V

    goto/16 :goto_0

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/gd;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;->c(Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;)Lcom/waiqin365/lightapp/visit/b/bb;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/gd;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;->e(Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;)I

    move-result v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/b/bb;->b(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/gd;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;->f(Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;)I

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/gd;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;->d(Lcom/waiqin365/lightapp/visit/SeniorVisitSendQueueActivity;)V

    goto/16 :goto_0

    :sswitch_data_0
    .sparse-switch
        0x2c4 -> :sswitch_1
        0x2c8 -> :sswitch_0
    .end sparse-switch
.end method
